//! \file errors.c

#include "errors.h"

//------------------------------------------------------------------------------

#define ERR(error, description) case error:return #error ":\"" description "\"";
const char *StrError(TBGError err) {
    switch (err) {
        #include "error_list.h"

        default: return "Unknown Error!";
    }
}
#undef ERR

